package com.blog.blogservice.app.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.blog.blogservice.app.service.PermissionService;
import com.blog.blogservice.domain.entity.Permission;
import com.blog.blogservice.infra.mapper.PermissionMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 权限表 (Permission)应用服务
 *
 * @author guanglin.ma
 * @since 2024-03-10 22:54:10
 */
@Service
public class PermissionServiceImpl extends ServiceImpl<PermissionMapper, Permission> implements PermissionService {


    public List<Permission> selectPermission(List<Integer> permissionIdList){
        return baseMapper.selectBatchIds(permissionIdList);
    }
}

